package com.bank.accountinfo.user.service;


import com.bank.accountinfo.user.entity.User;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

public interface UserService {
    User getUserById(Long id);

    boolean addUser(User user);

    boolean updateUser(User user);

    boolean deleteUserById(Long id);

    List<User> getAllUsers();

    boolean batchInsert(List<User> userList);

    Page<User> getUserPage(Page<User> userPage);

    Map<String, Object> login(User user);
    // 分页查询用户

    // 其他业务方法...
}
